package org.microsites.domain.dao;

import org.microsites.domain.model.Lock;
import org.microsites.domain.model.User;

public interface LockDAO {
	public void create(Lock l);
	
	public void update(Lock l);
	
	public void delete(String key);
	
	public Lock load(String key);

	public Lock load(String key, Long user);

	public void wipe(Long timestamp);

	public void wipe(User user);
}
